<?php
$discussion=$discussion?$discussion:array();
$lessionId=1;
?>

<form action='/discuss/saveDiscuss' method='post'>
<input type='hidden' name="discuss[lessonId]" value="<?=$lessionId ?>">
<table>
<?php foreach($discussion as $k=>$v){?>
<tr><td><?=$v ?></td></tr>
<?php }?>
<tr><td><textarea rows="10" cols="100" name="discuss[content]"></textarea></td></tr>
<tr><td><input type='submit' value='commit'></input></td></tr>
</table>
</form>

